<template>
    <el-card id="container">百度地图</el-card>
</template>

<script>
export default {
    mounted() {
        var map = new BMapGL.Map("container");
        map.centerAndZoom(new BMapGL.Point(116.28019, 40.049191), 19);
        map.enableScrollWheelZoom(true);
        map.setHeading(64.5);
        map.setTilt(73);
    },
};
</script>

<style lang="scss" scoped>
#container {
    height: 430px;
    margin-top:20px
}
</style>
